package com.telit.firecommand.model.cityVisualization;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;


/**
 * QryFireTrend1YearResult
 *
 * @author yuezhuang
 * @since 2023-03-16
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "QryFireTrend1YearResult", description = "查询火情前一年趋势model")
public class QryFireTrend1YearResult implements Serializable {

    private static final long serialVersionUID = -1L;


    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    @ApiModel(value = "LevelCount", description = "火情等级数量")
    public static class LevelCount implements Serializable {

        private static final long serialVersionUID = -1L;

        @ApiModelProperty(value = "火情数量")
        private Integer totalCount;

        @ApiModelProperty(value = "火情等级名称")
        private String levelName;

        @ApiModelProperty(value = "火情等级")
        private String fireLevel;

    }


    @ApiModelProperty(value = "火情等级数量映射")
    private List<LevelCount> rows;

    @ApiModelProperty(value = "日期，格式：yyyy-MM")
    private String day;

}
